package com.widget.random;

import org.apache.commons.lang3.RandomUtils;

/**
 * random 随机数
 *
 * @author mlliud
 * @date 2020/7/29 2:20 下午
 */
public class RandomHelper {

  private static void doc() {
    /**
     * 生成随机数
     */
    int val = RandomUtils.nextInt(0, 5);
  }

  public static void main(String[] args) {
    RandomHelper.doc();
  }
}
